<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<button id="btn1">sdfsdfsd</button>
<script src="../../layuiadmin/layui/layui.js"></script>
<script type="text/javascript">
layui.config({
	base:'./js/'
}).extend({
	index:'index'
});
layui.use('index',function(){
	var index= layui.index;
	// $('#btn1').on('click',function(){
		
	// })
	// 
	index.hello('giky!');
	// console.log($)
});
</script>
</body>
</html>